home *** CD-ROM | disk | FTP | other *** search
/ Maclife 157 / MACLIFE157-2001-09.ISO.7z / MACLIFE157-2001-09.ISO / Linux / MacOS Tools / MacGzip / Mac Docs / MacGzip FAQ < prev    next >
Text File  |  2001-07-23  |  8KB  |  169 lines

  1. ・ MacGzip doesnt work! Can you help me?
  2.  
  3. Sure, I can help you. But when something 'doesnt works' there are hundreds of things
  4. which can be wrong. Please, give me enough information, so I could figure how to help
  5. you. 
  6. You should tell me:
  7.  
  8.        - The version of MacGzip you are using (you can know this by getting info from MacGzip in the Finder) 
  9.        - The model of Macintosh you are using and what version of the operating system ('About this mac...' in apple Menu) 
  10.        - What you are trying to do with MacGzip and how you do it 
  11.        - What are the results you get (error messages, crashes, incorrect files...)
  12.  
  13.  
  14. ・ I don't like the interface / I'd like batch processing
  15.  
  16. The interface in 1.0 version has changed; anyway, the easiest (and faster) way to use MacGzip is using the Drag&Drop mode.
  17.  
  18. Read the Finder Help Balloon of MacGzip to find out about modifier keys.
  19.  
  20. About Batch processing, remember; although File menus are disabled while MacGzip is working, you still can drop files on it.
  21.  
  22. ・ What should I put in the 'gzip suffix' preference?
  23.  
  24. My advice is to not check the 'Use custom suffix' option.
  25.  
  26. Anyway; if you want to expand frequently one member .zip files or VMS .gz;1 files, you should check also the 'only when decompressing' box.
  27.  
  28. If your UNIX host has an older gzip (which creates compressed files with .z) you should put '.z' in this field of macgzip preferences; but the best option would be to update your UNIX gzip to the last version (currently -9/10/95- is 1.2.4). 
  29.  
  30. ・ What is the meaning of 'ASCII' compression/decompression?
  31.  
  32.      -a --ascii
  33.           Ascii text mode: convert end-of-lines using local  con-
  34.           ventions.  This  option  is supported only on some non-
  35.           Unix systems.
  36.  
  37. let's have the ASCII file 'pc.txt' on an DOS machine
  38.  
  39. we can make:
  40.   gzip -c pc.txt > pc.gz
  41.   gzip -ca pc.txt > pca.gz
  42.  
  43. then, we put these files in our mac and:
  44.   gzip 'uncompress' 'binary' of pc.gz gives us a file with EOL=<CR><LF> (bad)
  45.   gzip 'uncompress' 'binary' of pca.gz gives us a file with EOL=<LF> (bad)
  46.   gzip 'uncompress' 'ascii' of pc.gz gives us a file with EOL=<CR><CR> (bad)
  47.   gzip 'uncompress' 'ascii' of pca.gz gives us a file with EOL=<CR> (good!)
  48.  
  49. ・ My Mac-dhqx-application does not recognize gunziped files.
  50.  
  51. A file with .hqx suffix IS A TEXT FILE; so it should be uncompressed in ASCII mode. This not only will put 'Macintosh end-of-lines' (which shouldn't make any difference to your debinhexer), but also will set the type of the resulting file to 'TEXT'.
  52.  
  53. Anyway; if you have gunziped your foo.hqx in binary mode; you can use 'StuffIt Expander', since (in Drag&Drop mode) it eats any kind of file.
  54.  
  55. ・ What is the meaning of 'binary' in the mode pop-up menu?
  56.  
  57. Binary means that you get a file which is exactly the same file (byte by byte) which was compressed; you should use this option for any non-text file (If you want to keep the resources and all the Macintosh information, you should use MacBinary; Internet Config can select the mode automatically for you)
  58. If you don't know anything about Mac info and resources, please, read the 'File Formats' document.
  59.  
  60. If you uncompress a binary file (like a file.tar.gz or a file.tif.gz) in ASCII mode; you will loose the file.
  61.  
  62. If you uncompress a text file (like a file.hqx.gz or a text.gz) in binary mode; you can recover the file in several ways.
  63.  
  64. ・ MacGzip reports a CRC error!
  65.  
  66. This error appears when the file is corrupted or, most frequently, when the file has been incorrectly transferred
  67.  
  68. Gziped files ARE PURE BINARIES. (raw data, binary, not MacBinary nor ASCII)
  69. When you download a gif file; you set your communications software in binary mode; do the same with gziped files.
  70.  
  71. If you don't know how to do this, please, read 'Configuring Network Software'
  72.  
  73. ・ Can I use MacGzip to unzip .zip files with more than one file zipped
  74. in it?
  75.  
  76. No, you can't 
  77.  
  78. This is from 'gzip.doc' in 'GNU docs' folder: 
  79.  
  80.  
  81.      Files created by zip can be uncompressed  by  gzip  only  if
  82.      they  have  a  single member compressed with the 'deflation'
  83.      method. This feature is only intended to help conversion  of
  84.      tar.zip  files  to  the  tar.gz format. To extract zip files
  85.      with several members, use unzip instead of gunzip.
  86.  
  87. On a Mac, you can use Zip It 1.11 
  88.  
  89. ・ Can I use MacGzip to create Unix compress .Z files?
  90.  
  91. No, you can't 
  92.  
  93. And if you put a .Z in 'custom suffix' preference all you'll have is gzip files with .Z suffix (which compress won't be able to expand...)
  94.  
  95. ・ What is Internet Config?
  96.  
  97. From "Internet Config 1.0 Press Release": 
  98.  
  99. Internet Config: Solving Preference Proliferation
  100. -------------------------------------------------
  101. We all use many different programs to access the Internet and each of these
  102. programs has its own preference dialog, wherein you set things like your
  103. Email address, your FTP helper application and your preferred program to
  104. open ".jpg" files.  Keeping these preferences in synch in all your Internet
  105. applications is becoming increasingly difficult.  Worse yet, many simple
  106. applications do not even have a mechanism for setting these preferences and
  107. so you are stuck with the author's default preferences.
  108.  
  109. The Internet Configuration system is a solution to this problem.  Internet
  110. Config is an application that allows you to set these preferences once.
  111. Internet Config stores these preferences is a shared database and any "IC
  112. Aware" application will automatically get its preferences from this
  113. database.
  114.  
  115. You can get IC at http://www.stairways.com/ic/
  116.  
  117. MacGzip uses the Ostrich approach for Internet Config Prefs. This means that IC settings
  118. are read just at MacGzip startup, if you change them after, 'changes wont apply till nex
  119. time etc etc' 
  120.  
  121. ・ "Warning! can't read internet preferences. Make sure IC is installed"
  122.  
  123. IC stands for Internet Config. To avoid this message you can
  124.  
  125.        Install Internet Config (recomended) 
  126.        Change MacGzip Preferences so it won't ask for IC (and deal with suffixes and types  yourself) 
  127.  
  128. Note: since version 1.1, "IC" has been replaced by "Internet Config" in that alert box. 
  129.  
  130. ・ I have System 6.x. There is a gzip for me?
  131.  
  132. Yes, you can use a command line interface gzip. It is not supported, and isn't easy to use it;
  133. but anyway, here you are: 
  134.  
  135.        ftp://ivo.cps.unizar.es/export/gzip.cpt
  136.        ftp://ivo.cps.unizar.es/export/gzip.cpt.hqx
  137.  
  138. In short, you can start typing -h at the command line and save the output to a file for future reference; then, to expand a file you can use "-d <file>" where <file> is the name of the file you want to expand. (or full name, including path, if the file is not at the same folder as gzip application).(don't forget to use -a for text files!)
  139. After that, you probably will need a file typer.
  140.  
  141. ・ Netscape says: "Warning: unrecognized encoding: 'x-gzip'"
  142.  
  143. It seems there is a problem with Netscape, please, read the "Configuring Network Software" document
  144.  
  145. ・ What about the meaning of life?
  146.  
  147. 1. life ¥'li-f¥ ¥'li-vz¥ n or lives [ME lif, fr. OE li-f; akin to OE
  148.    libban to live - more a] pl t LIVE 1a: the quality that
  149.    distinguishes a vital and functional being from a dead body or
  150.    purely chemical matter 1b1: the state of a material complex or
  151.    individual characterized by the capacity to perform certain
  152.    functional activities including metabolism, growth, and reproduction
  153.    1b2: a specific aspect of the process of living {sex ~} 2: the
  154.    sequence of physical and mental experiences that make up the
  155.    existence of an individual 3: BIOGRAPHY 4: spiritual existence
  156.    transcending physical death 5a: the duration of an earthly existence
  157.    5b: a specific phase of earthly existence {adult ~} 5c: a sentence of
  158.    imprisonment for the remaining portion of a convict's existence 6: a
  159.    way or manner of living 7: LIVELIHOOD 8: a vital or living being;
  160.    specif : PERSON 9: an animating and shaping force or principle 10:
  161.    ANIMATION, SPIRIT {eyes full of ~} 11: the form or pattern of
  162.    something existing in reality {painted from ~} 12: the period of
  163.    usefulness of something {~ of a car} 13: the period of existence (as
  164.    of a subatomic particle) 14: a property of an inanimate substance or
  165.    object resembling the animate quality of a living being {~ of a bow}
  166.    15: living beings (as of a particular kind or environment) {forest ~}
  167.    16a: human activities 16b: animate activity and movement {stirrings of
  168.    ~} 18: another chance given to one likely to lose cap, Christian
  169.    Science 19: GOD